﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp
{
    class Yyds : ICompute
    {
        public string name { get; set; }
        public int Phonenumber { get; set; }
        public string work { get; set; }
        public string from { get; set;  }
        public void comefrom()
        {
            Console.WriteLine("来自："+from);
        }
        public void speak()
        {
            Console.WriteLine("排名："+work);
        }
    }
    class Mlxg : ICompute 
    {
        public string name { get; set; }
        public int Phonenumber { get; set; }
        public string work { get; set; }
        public string from { get; set; }
        public void comefrom()
        {
            Console.WriteLine("来自：" + from);
        }
        public void speak()
        {
            Console.WriteLine("排名：" + work);
        }
    }

}
